package com.mad.bakergps;

import java.util.ArrayList;

import android.content.Context;

public class Line {
	
	int num;
	Node startNode;
	Node endNode;
	int imageId;
	ArrayList<Node> toRooms;
	ArrayList<Room> rooms;
	ArrayList<Building> buildings;
	int distanceInFeet;
	
	
	public Node getStartNode() {
		return startNode;
	}
	public void setStartNode(Node startNode) {
		this.startNode = startNode;
	}
	public Node getEndNode() {
		return endNode;
	}
	public void setEndNode(Node endNode) {
		this.endNode = endNode;
	}
	public int getImageId() {
		return imageId;
	}
	public void setImageId(int imageId) {
		this.imageId = imageId;
	}
	public ArrayList<Room> getRooms() {
		return rooms;
	}
	public void setRooms(ArrayList<Room> rooms) {
		this.rooms = rooms;
	}
	public ArrayList<Building> getBuildings() {
		return buildings;
	}
	public void setBuildings(ArrayList<Building> buildings) {
		this.buildings = buildings;
	}
	public int getDistanceInFeet() {
		return distanceInFeet;
	}
	public void setDistanceInFeet(int distanceInFeet) {
		this.distanceInFeet = distanceInFeet;
	}
	
	public void setImageIdByNumber(Context c){
		imageId= c.getResources().getIdentifier("line"+Integer.toString(num), null, null);
	}
	public boolean leadsTo(Node endNode2) {
		// TODO Auto-generated method stub
		return false;
	}
	

}
